<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>网站内容管理系统 - 登录</title>
<style type="text/css">
html {
    background: #FAFBF4;
}

body {
    background: #FAFBF4;
    color: #000;
    margin: 0;
    padding: 20px;
    font-size: 9pt;
    text-align:center;
}

label, input {
	display: block;
	width: 150px;
	float: left;
	margin-bottom: 10px;
}
label {
	text-align: right;
	width: 75px;
	padding-right: 15px;
	padding-top: 4px;
	clear: both;
}
#container {
    text-align: left;      
	width: 580px;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
	background: white;
}

#header {

}

#footer, #footer a {
    margin-top: 3px;
    text-align: center;
    font-size: 11px;
    color: #aaa;
	background: #FAFBF4;
}

#content {
	padding: 20px;
    margin: 0;
    font-weight: normal;
	border: 1px solid #adbc61;
	height: 200px;
}

#content h1 {
    margin: 10px 0 0 0;
    padding: 0;
	text-align:center;
    font-size: 24pt;
    font-weight: normal;
    color: #4d4d4d;
}


#error {
    text-align: center;
    clear: both;
    color: #993333;
    margin-bottom: 10px;
}

#form {
    margin-left: auto;
    margin-right: auto;
    width: 280px;
}

#rememberMe {
    margin-left: -140px;
    width: 290px;
}

#submitButton {
    width: 75px;
}

</style>
</head>
<body>
<div id="container">
  <div id="header">
    <div id="logo"> </div>
  </div>
  <div id="content">
    <h1>用户登录</h1>
    <div id="error">
      <c:if test="${failed}">登录失败，请重试</c:if>
    </div>
    <div id="form">
      <form id="loginForm" method="post" action="j_spring_security_check">
        <label for="j_username">登录用户</label>
        <input name="j_username" type="text" />
        <label for="j_password">登录密码</label>
        <input name="j_password" type="password" />
        <label for="_spring_security_remember_me">保持登录</label>
        <input id="rememberMe" name="_spring_security_remember_me" type="checkbox" value="" />
        <label for="submitButton">
          <!--  -->
        </label>
        <input id="submitButton" type="submit" value="登录" />
      </form>
    </div>
  </div>
  <div id="footer"> 
     <a href="http://lhg-cms.googlecode.com">LuLu CMS</a>  &copy; Copyright 2010 Lu,Huiguo
  </div>
</div>
</body>
</html>